package com.api.shopapi.service;

import com.api.shopapi.entity.SBJSleepReport;
import com.api.shopapi.entity.dto.SBJSleepReportDTO;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface SBJSleepReportService {

    int insert(SBJSleepReport sbjSleepReport);

    PageInfo<SBJSleepReportDTO> getSleepReportPageByDeviceId(int pageIndex, int pageSize, String deviceId, String startTime, String endTime);
}
